Integrand size = 20, antiderivative size = 1147 \[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=-\frac {4 i b^2 x^{5/2}}{\left (a^2+b^2\right )^2 d}+\frac {4 b^2 x^{5/2}}{(a+i b) (i a+b)^2 d \left (i a-b+(i a+b) e^{2 i \left (c+d \sqrt {x}\right )}\right )}+\frac {x^3}{3 (a-i b)^2}+\frac {4 b x^3}{3 (i a-b) (a-i b)^2}-\frac {4 b^2 x^3}{3 \left (a^2+b^2\right )^2}+\frac {10 b^2 x^2 \log \left (1+\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac {4 b x^{5/2} \log \left (1+\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(a-i b)^2 (a+i b) d}-\frac {4 i b^2 x^{5/2} \log \left (1+\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d}-\frac {20 i b^2 x^{3/2} \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^3}+\frac {10 b x^2 \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(i a-b) (a-i b)^2 d^2}-\frac {10 b^2 x^2 \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac {30 b^2 x \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^4}+\frac {20 b x^{3/2} \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(a-i b)^2 (a+i b) d^3}-\frac {20 i b^2 x^{3/2} \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^3}+\frac {30 i b^2 \sqrt {x} \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^5}-\frac {30 b x \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(i a-b) (a-i b)^2 d^4}+\frac {30 b^2 x \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^4}-\frac {15 b^2 \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^6}-\frac {30 b \sqrt {x} \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(a-i b)^2 (a+i b) d^5}+\frac {30 i b^2 \sqrt {x} \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^5}+\frac {15 b \operatorname {PolyLog}\left (6,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{(i a-b) (a-i b)^2 d^6}-\frac {15 b^2 \operatorname {PolyLog}\left (6,-\frac {(a-i b) e^{2 i \left (c+d \sqrt {x}\right )}}{a+i b}\right )}{\left (a^2+b^2\right )^2 d^6} \]
30*I*b^2*polylog(5,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))*x^(1/2)/(a^2+b ^2)^2/d^5+4*b^2*x^(5/2)/(a+I*b)/(I*a+b)^2/d/(I*a-b+(I*a+b)*exp(2*I*(c+d*x^ (1/2))))+1/3*x^3/(a-I*b)^2+4/3*b*x^3/(I*a-b)/(a-I*b)^2-4/3*b^2*x^3/(a^2+b^ 2)^2+10*b^2*x^2*ln(1+(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d ^2+4*b*x^(5/2)*ln(1+(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a-I*b)^2/(a+I *b)/d-20*I*b^2*x^(3/2)*polylog(3,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/ (a^2+b^2)^2/d^3+30*I*b^2*polylog(4,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b) )*x^(1/2)/(a^2+b^2)^2/d^5+10*b*x^2*polylog(2,-(a-I*b)*exp(2*I*(c+d*x^(1/2) ))/(a+I*b))/(I*a-b)/(a-I*b)^2/d^2-10*b^2*x^2*polylog(2,-(a-I*b)*exp(2*I*(c +d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^2+30*b^2*x*polylog(3,-(a-I*b)*exp(2*I* (c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^4+20*b*x^(3/2)*polylog(3,-(a-I*b)*ex p(2*I*(c+d*x^(1/2)))/(a+I*b))/(a-I*b)^2/(a+I*b)/d^3-20*I*b^2*x^(3/2)*polyl og(2,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^3-30*b*x*polyl og(4,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(I*a-b)/(a-I*b)^2/d^4+30*b^2 *x*polylog(4,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^4-15*b ^2*polylog(5,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^6+15*b *polylog(6,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(I*a-b)/(a-I*b)^2/d^6- 15*b^2*polylog(6,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d^6- 4*I*b^2*x^(5/2)*ln(1+(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))/(a^2+b^2)^2/d -30*b*polylog(5,-(a-I*b)*exp(2*I*(c+d*x^(1/2)))/(a+I*b))*x^(1/2)/(a-I*b...
Time = 3.26 (sec) , antiderivative size = 848, normalized size of antiderivative = 0.74 \[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\frac {-\frac {i b \left (12 (a+i b) b (i a+b) d^5 x^{5/2}+4 a (a+i b) (i a+b) d^6 x^3+30 (a-i b) b d^4 \left (-i b \left (-1+e^{2 i c}\right )+a \left (1+e^{2 i c}\right )\right ) x^2 \log \left (1+\frac {(a+i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )+12 a (a-i b) d^5 \left (-i b \left (-1+e^{2 i c}\right )+a \left (1+e^{2 i c}\right )\right ) x^{5/2} \log \left (1+\frac {(a+i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )+15 (a-i b) b \left (-i b \left (-1+e^{2 i c}\right )+a \left (1+e^{2 i c}\right )\right ) \left (4 i d^3 x^{3/2} \operatorname {PolyLog}\left (2,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )+6 d^2 x \operatorname {PolyLog}\left (3,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )-6 i d \sqrt {x} \operatorname {PolyLog}\left (4,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )-3 \operatorname {PolyLog}\left (5,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )\right )+15 a (a-i b) \left (-i b \left (-1+e^{2 i c}\right )+a \left (1+e^{2 i c}\right )\right ) \left (2 i d^4 x^2 \operatorname {PolyLog}\left (2,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )+4 d^3 x^{3/2} \operatorname {PolyLog}\left (3,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )-6 i d^2 x \operatorname {PolyLog}\left (4,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )-6 d \sqrt {x} \operatorname {PolyLog}\left (5,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )+3 i \operatorname {PolyLog}\left (6,\frac {(-a-i b) e^{-2 i \left (c+d \sqrt {x}\right )}}{a-i b}\right )\right )\right )}{d^6 \left (b-b e^{2 i c}-i a \left (1+e^{2 i c}\right )\right )}+\frac {(a-i b)^2 (a+i b) x^3 (a \cos (c)-b \sin (c))}{a \cos (c)+b \sin (c)}+\frac {6 (a-i b)^2 (a+i b) b^2 x^{5/2} \sin \left (d \sqrt {x}\right )}{d (a \cos (c)+b \sin (c)) \left (a \cos \left (c+d \sqrt {x}\right )+b \sin \left (c+d \sqrt {x}\right )\right )}}{3 (a-i b)^3 (a+i b)^2} \]
(((-I)*b*(12*(a + I*b)*b*(I*a + b)*d^5*x^(5/2) + 4*a*(a + I*b)*(I*a + b)*d ^6*x^3 + 30*(a - I*b)*b*d^4*((-I)*b*(-1 + E^((2*I)*c)) + a*(1 + E^((2*I)*c )))*x^2*Log[1 + (a + I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] + 12*a*(a - I*b)*d^5*((-I)*b*(-1 + E^((2*I)*c)) + a*(1 + E^((2*I)*c)))*x^(5/2)*Log[ 1 + (a + I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] + 15*(a - I*b)*b*((-I )*b*(-1 + E^((2*I)*c)) + a*(1 + E^((2*I)*c)))*((4*I)*d^3*x^(3/2)*PolyLog[2 , (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] + 6*d^2*x*PolyLog[3, ( -a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] - (6*I)*d*Sqrt[x]*PolyLog [4, (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] - 3*PolyLog[5, (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))]) + 15*a*(a - I*b)*((-I)*b*(-1 + E^((2*I)*c)) + a*(1 + E^((2*I)*c)))*((2*I)*d^4*x^2*PolyLog[2, (-a - I*b )/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] + 4*d^3*x^(3/2)*PolyLog[3, (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] - (6*I)*d^2*x*PolyLog[4, (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] - 6*d*Sqrt[x]*PolyLog[5, (-a - I*b)/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))] + (3*I)*PolyLog[6, (-a - I*b )/((a - I*b)*E^((2*I)*(c + d*Sqrt[x])))])))/(d^6*(b - b*E^((2*I)*c) - I*a* (1 + E^((2*I)*c)))) + ((a - I*b)^2*(a + I*b)*x^3*(a*Cos[c] - b*Sin[c]))/(a *Cos[c] + b*Sin[c]) + (6*(a - I*b)^2*(a + I*b)*b^2*x^(5/2)*Sin[d*Sqrt[x]]) /(d*(a*Cos[c] + b*Sin[c])*(a*Cos[c + d*Sqrt[x]] + b*Sin[c + d*Sqrt[x]])))/ (3*(a - I*b)^3*(a + I*b)^2)
Time = 2.44 (sec) , antiderivative size = 1209, normalized size of antiderivative = 1.05, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4234, 3042, 4217, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx\) |
\(\Big \downarrow \) 4234 |
\(\displaystyle 2 \int \frac {x^{5/2}}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2}d\sqrt {x}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle 2 \int \frac {x^{5/2}}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2}d\sqrt {x}\) |
\(\Big \downarrow \) 4217 |
\(\displaystyle 2 \int \left (\frac {4 b x^{5/2}}{(a-i b)^2 \left (i a e^{2 i c+2 i d \sqrt {x}} \left (1-\frac {i b}{a}\right )+i a \left (\frac {i b}{a}+1\right )\right )}+\frac {x^{5/2}}{(a-i b)^2}-\frac {4 b^2 x^{5/2}}{(i a+b)^2 \left (i a e^{2 i c+2 i d \sqrt {x}} \left (1-\frac {i b}{a}\right )+i a \left (\frac {i b}{a}+1\right )\right )^2}\right )d\sqrt {x}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle 2 \left (\frac {2 b x^3}{3 (i a-b) (a-i b)^2}+\frac {x^3}{6 (a-i b)^2}-\frac {2 b^2 x^3}{3 \left (a^2+b^2\right )^2}+\frac {2 b \log \left (\frac {e^{2 i c+2 i d \sqrt {x}} (a-i b)}{a+i b}+1\right ) x^{5/2}}{(a-i b)^2 (a+i b) d}-\frac {2 i b^2 \log \left (\frac {e^{2 i c+2 i d \sqrt {x}} (a-i b)}{a+i b}+1\right ) x^{5/2}}{\left (a^2+b^2\right )^2 d}-\frac {2 i b^2 x^{5/2}}{\left (a^2+b^2\right )^2 d}+\frac {2 b^2 x^{5/2}}{(a+i b) (i a+b)^2 d \left (i a+(i a+b) e^{2 i c+2 i d \sqrt {x}}-b\right )}+\frac {5 b^2 \log \left (\frac {e^{2 i c+2 i d \sqrt {x}} (a-i b)}{a+i b}+1\right ) x^2}{\left (a^2+b^2\right )^2 d^2}+\frac {5 b \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x^2}{(i a-b) (a-i b)^2 d^2}-\frac {5 b^2 \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x^2}{\left (a^2+b^2\right )^2 d^2}-\frac {10 i b^2 \operatorname {PolyLog}\left (2,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x^{3/2}}{\left (a^2+b^2\right )^2 d^3}+\frac {10 b \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x^{3/2}}{(a-i b)^2 (a+i b) d^3}-\frac {10 i b^2 \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x^{3/2}}{\left (a^2+b^2\right )^2 d^3}+\frac {15 b^2 \operatorname {PolyLog}\left (3,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x}{\left (a^2+b^2\right )^2 d^4}-\frac {15 b \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x}{(i a-b) (a-i b)^2 d^4}+\frac {15 b^2 \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) x}{\left (a^2+b^2\right )^2 d^4}+\frac {15 i b^2 \operatorname {PolyLog}\left (4,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) \sqrt {x}}{\left (a^2+b^2\right )^2 d^5}-\frac {15 b \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) \sqrt {x}}{(a-i b)^2 (a+i b) d^5}+\frac {15 i b^2 \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right ) \sqrt {x}}{\left (a^2+b^2\right )^2 d^5}-\frac {15 b^2 \operatorname {PolyLog}\left (5,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right )}{2 \left (a^2+b^2\right )^2 d^6}+\frac {15 b \operatorname {PolyLog}\left (6,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right )}{2 (i a-b) (a-i b)^2 d^6}-\frac {15 b^2 \operatorname {PolyLog}\left (6,-\frac {(a-i b) e^{2 i c+2 i d \sqrt {x}}}{a+i b}\right )}{2 \left (a^2+b^2\right )^2 d^6}\right )\) |
2*(((-2*I)*b^2*x^(5/2))/((a^2 + b^2)^2*d) + (2*b^2*x^(5/2))/((a + I*b)*(I* a + b)^2*d*(I*a - b + (I*a + b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))) + x^3/(6*( a - I*b)^2) + (2*b*x^3)/(3*(I*a - b)*(a - I*b)^2) - (2*b^2*x^3)/(3*(a^2 + b^2)^2) + (5*b^2*x^2*Log[1 + ((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b)])/((a^2 + b^2)^2*d^2) + (2*b*x^(5/2)*Log[1 + ((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b)])/((a - I*b)^2*(a + I*b)*d) - ((2*I)*b^2*x^( 5/2)*Log[1 + ((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b)])/((a^2 + b^2)^2*d) - ((10*I)*b^2*x^(3/2)*PolyLog[2, -(((a - I*b)*E^((2*I)*c + (2*I )*d*Sqrt[x]))/(a + I*b))])/((a^2 + b^2)^2*d^3) + (5*b*x^2*PolyLog[2, -(((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))])/((I*a - b)*(a - I*b)^2 *d^2) - (5*b^2*x^2*PolyLog[2, -(((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/ (a + I*b))])/((a^2 + b^2)^2*d^2) + (15*b^2*x*PolyLog[3, -(((a - I*b)*E^((2 *I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))])/((a^2 + b^2)^2*d^4) + (10*b*x^(3/2) *PolyLog[3, -(((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))])/((a - I*b)^2*(a + I*b)*d^3) - ((10*I)*b^2*x^(3/2)*PolyLog[3, -(((a - I*b)*E^((2 *I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))])/((a^2 + b^2)^2*d^3) + ((15*I)*b^2*S qrt[x]*PolyLog[4, -(((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))]) /((a^2 + b^2)^2*d^5) - (15*b*x*PolyLog[4, -(((a - I*b)*E^((2*I)*c + (2*I)* d*Sqrt[x]))/(a + I*b))])/((I*a - b)*(a - I*b)^2*d^4) + (15*b^2*x*PolyLog[4 , -(((a - I*b)*E^((2*I)*c + (2*I)*d*Sqrt[x]))/(a + I*b))])/((a^2 + b^2)...
3.1.42.3.1 Defintions of rubi rules used
Int[((c_.) + (d_.)*(x_))^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Int[ExpandIntegrand[(c + d*x)^m, (1/(a - I*b) - 2*I*(b/(a^2 + b^2 + (a - I*b)^2*E^(2*I*(e + f*x)))))^(-n), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[a^2 + b^2, 0] && ILtQ[n, 0] && IGtQ[m, 0]
Int[(x_)^(m_.)*((a_.) + (b_.)*Tan[(c_.) + (d_.)*(x_)^(n_)])^(p_.), x_Symbol ] :> Simp[1/n Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*Tan[c + d*x])^ p, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p}, x] && IGtQ[Simplify[(m + 1)/n], 0] && IntegerQ[p]
\[\int \frac {x^{2}}{\left (a +b \tan \left (c +d \sqrt {x}\right )\right )^{2}}d x\]
\[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int { \frac {x^{2}}{{\left (b \tan \left (d \sqrt {x} + c\right ) + a\right )}^{2}} \,d x } \]
\[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int \frac {x^{2}}{\left (a + b \tan {\left (c + d \sqrt {x} \right )}\right )^{2}}\, dx \]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 4345 vs. \(2 (928) = 1856\).
Time = 1.39 (sec) , antiderivative size = 4345, normalized size of antiderivative = 3.79 \[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\text {Too large to display} \]
-1/15*(30*(2*a*b*log(b*tan(d*sqrt(x) + c) + a)/(a^4 + 2*a^2*b^2 + b^4) - a *b*log(tan(d*sqrt(x) + c)^2 + 1)/(a^4 + 2*a^2*b^2 + b^4) + (a^2 - b^2)*(d* sqrt(x) + c)/(a^4 + 2*a^2*b^2 + b^4) - b/(a^3 + a*b^2 + (a^2*b + b^3)*tan( d*sqrt(x) + c)))*c^5 - (5*(a^3 - I*a^2*b + a*b^2 - I*b^3)*(d*sqrt(x) + c)^ 6 - 30*(a^3 - I*a^2*b + a*b^2 - I*b^3)*(d*sqrt(x) + c)^5*c + 75*(a^3 - I*a ^2*b + a*b^2 - I*b^3)*(d*sqrt(x) + c)^4*c^2 - 100*(a^3 - I*a^2*b + a*b^2 - I*b^3)*(d*sqrt(x) + c)^3*c^3 + 75*(a^3 - I*a^2*b + a*b^2 - I*b^3)*(d*sqrt (x) + c)^2*c^4 - 150*((-I*a*b^2 - b^3)*c^4*cos(2*d*sqrt(x) + 2*c) + (a*b^2 - I*b^3)*c^4*sin(2*d*sqrt(x) + 2*c) + (-I*a*b^2 + b^3)*c^4)*arctan2(-b*co s(2*d*sqrt(x) + 2*c) + a*sin(2*d*sqrt(x) + 2*c) + b, a*cos(2*d*sqrt(x) + 2 *c) + b*sin(2*d*sqrt(x) + 2*c) + a) - 4*(48*(I*a^2*b - a*b^2)*(d*sqrt(x) + c)^5 + 75*(I*a*b^2 - b^3 + 2*(-I*a^2*b + a*b^2)*c)*(d*sqrt(x) + c)^4 + 20 0*((I*a^2*b - a*b^2)*c^2 + (-I*a*b^2 + b^3)*c)*(d*sqrt(x) + c)^3 + 75*(2*( -I*a^2*b + a*b^2)*c^3 + 3*(I*a*b^2 - b^3)*c^2)*(d*sqrt(x) + c)^2 + 75*((I* a^2*b - a*b^2)*c^4 + 2*(-I*a*b^2 + b^3)*c^3)*(d*sqrt(x) + c) + (48*(I*a^2* b + a*b^2)*(d*sqrt(x) + c)^5 + 75*(I*a*b^2 + b^3 + 2*(-I*a^2*b - a*b^2)*c) *(d*sqrt(x) + c)^4 + 200*((I*a^2*b + a*b^2)*c^2 + (-I*a*b^2 - b^3)*c)*(d*s qrt(x) + c)^3 + 75*(2*(-I*a^2*b - a*b^2)*c^3 + 3*(I*a*b^2 + b^3)*c^2)*(d*s qrt(x) + c)^2 + 75*((I*a^2*b + a*b^2)*c^4 + 2*(-I*a*b^2 - b^3)*c^3)*(d*sqr t(x) + c))*cos(2*d*sqrt(x) + 2*c) - (48*(a^2*b - I*a*b^2)*(d*sqrt(x) + ...
\[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int { \frac {x^{2}}{{\left (b \tan \left (d \sqrt {x} + c\right ) + a\right )}^{2}} \,d x } \]
Timed out. \[ \int \frac {x^2}{\left (a+b \tan \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int \frac {x^2}{{\left (a+b\,\mathrm {tan}\left (c+d\,\sqrt {x}\right )\right )}^2} \,d x \]